﻿@model IndignaFramework.Models.Contenido

@{
    ViewBag.Title = "Crear Contenido";
}

<h2>Crear</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Contenido</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Ruta)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Ruta)
            @Html.ValidationMessageFor(model => model.Ruta)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Texto)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Texto)
            @Html.ValidationMessageFor(model => model.Texto)
        </div>

        <p>
            <input type="submit" value="Crear" />
        </p>
    </fieldset>
}

